<?php
/**
 * imagecollective.php
 * Created on 2015-03-30 12:14:09
 * Create by yuebin
 */
namespace haibao\cms\model\data\imagecollective;

class ImageCollective extends \haibao\cms\model\data\Base {

	const STATUS_ENABLE = 1;  //图集正常状态
	const STATUS_DEL_ENABLE = 0;//图集删除状态
	const STATUS_DIS_ENABLE = 2;//图集待编辑状态

	const STATUS_NO_PUBLISH = 0;
	const STATUS_YES_PUBLISH = 1;
	const STATUS_PRO_PUBLISH = 2;
	const STATUS_PUBLISH_ING = 3;
	
	const STATUS_LEVEL_ZERO = 0;
	const STATUS_LEVEL_ONE = 1;
	const STATUS_LEVEL_TWO = 2;
	const STATUS_LEVEL_THREE = 3;
	const STATUS_LEVEL_FOUR = 4;
	const STATUS_LEVEL_FIVE = 5;
	const STATUS_LEVEL_SIX = 6;
	const STATUS_LEVEL_SEVEN = 7;
	
	/**
	 * 是否同步到手机图集列表
	 */
	const PUBLISH_MOBILE_NO = 0;
	const PUBLISH_MOBILE_YES = 1;
	
	/**
	 * 分类ID
	 */
	public $CategoryId;
	/**
	 * 主标签ID
	 */
	public $TagId;
	/**
	 * 标题
	 */
	public $Title;
	
	/**
	 * 短标题
	 */
	public $ShortTitle;
	
	/**
	 * 描述
	 */
	public $Description;
	/**
	 * 状态
	 */
	public $Status = 1;
	/**
	 * 排序
	 */
	public $Level = 1;
	/**
	 * 创建人
	 */
	public $CreateBy;
	/**
	 * 创建时间
	 */
	public $CreateTime;
	
	/**
	 * 文章
	 */
	public $ImageCollectiveArticle;
	
	/**
	 * 分类
	 */
	public $ImageCollectiveCategoryDefine;
	
	/**
	 * 关键字
	 */
	public $ImageCollectiveKeywords;
	/**
	 * 图集创建人
	 */
	public $ImageCollectiveCreateBy;
	/**
	 * 发布时间
	 */
	public $PublishTime;
	
	/**
	 * 图片实体
	 */
	public $ImageCollectivePic;
	/**
	 * 导读图实体
	 */
	public $ImageCollectivePro;
	
	/**
	 * 标签实体
	 */
	public $ImageCollectiveTag;
	
	/**
	 * 统计信息
	 */
	public $Property;
	
	/**
	 * 图集关联事件
	 */
	public $EventImageCollective;
	public $SiteType;
	/**
	 * 是否发布
	 */
	public $Published;
	/**
	 * 创建时间实体
	 */
	public $CreatTimeFilter;
	/**
	 * 发布时间实体
	 */
	public $PublishTimeFiler;
	
	public $Wider;
	
	/**
	 * 是否已同步到手机图集列表
	 */
	public $IsPostMobile;
	
	/**
	 * 图集的作者实体 
	 */
	public $Author;
	

	/**
	 * 访问URL
	 */
	public $AccessUrl;
	
	/**
	 * public title
	 */
	public $PublicTitle;
	
	public $IndexTime;
	
	public $HighLightTitle;
	
	public $ImageCollectiveProperty;
	
	public function __construct() {
		parent::__construct();
		$this->intField ( 'CategoryId', 'CategoryId', true );
		$this->stringField ( 'Title', 'Title', true );
		$this->stringField ( 'Description', 'Description' );
		$this->intField ( 'Status', 'Status' );
		$this->intField ( 'Level', 'Level' );
		$this->intField ( 'CreateBy', 'CreateBy' , true );
		$this->dateField ( 'CreateTime', 'CreateTime' , true );
		$this->stringField('ShortTitle', 'ShortTitle');
		$this->intField('Published', 'Published');
		$this->dateField('PublishTime', 'PublishTime');
		$this->intField('IsPostMobile', 'IsPostMobile');
		$this->dateField('IndexTime', 'IndexTime');
		
		$this->setTableName ( 'ImageCollective' );
	}

}